#!/bin/bash 
latex main
bibtex main
makeindex main
latex main
latex main
dvipdf main.dvi
mv main.pdf ../manual.pdf